Digital signal processing of randomly jittered under-sampled sequence

ABSTRACT

Methods/systems employ randomly jittered under-sampling to reduce a sampling rate required to convert an analog signal to a digital signal in electronic devices and other applications that perform digital signal processing on the signal. The methods/systems can greatly reduce the nominal sampling rate for such applications where RMS, peak and mean estimates of the signal are desired for both the entire band-limited signal and separate estimates for each frequency component. This can in turn result in large cost savings, as less complex and thus less expensive controllers and related components may be used to perform the sampling. As well, the methods/systems herein can provide reasonably accurate waveform estimates that allow additional cost savings in bill of materials (BOM) and printed circuit board assembly (PCBA) footprint and real-estate by eliminating the need for certain analog components, such as signal conditioning components.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application for patent claims the benefit of priority to and incorporates herein by reference U.S. Provisional Application No. 63/251,369, entitled “Randomly Jittered Undersampling Techniques for Metering, GFCI and AFCI Applications,” filed Oct. 1, 2021. This application is also related in subject matter to and incorporates herein by reference commonly-assigned application Ser. No. ______, entitled “Randomly Jittered Under-Sampling for Efficient Data Acquisition and Analysis in Digital Metering, GFCI, AFCI, and Digital Signal Processing Applications,” filed concurrently herewith and bearing Docket No. 2021P00525US (1019US2), and commonly-assigned application Ser. No. ______, entitled “Randomly Jittered Under-Sampling and Phase Sampling for Time-Frequency and Frequency Analyses in AFCI, GFCI, Metering, and Load Recognition and Disaggregation Applications,” filed concurrently herewith and bearing Docket No. 2021P00755US (1062US2).

TECHNICAL FIELD

The present disclosure relates to electronic devices that employ digital signal processing, and more particularly to methods and systems for performing randomly jittered under-sampling of signals in such devices to provide efficient data acquisition and analysis.

BACKGROUND

Digital signal processing, as the name suggests, refers to the processing of signals that have been converted from analog to digital form. Examples of analog signals that commonly undergo digital signal processing include voltage, current, temperature, pressure, spatial position, and many other types of signals. The processing is typically performed by a digital signal processor (DSP) that extracts or otherwise digitally manipulates information contained in the analog signal for use in display, analysis, monitoring and control, and other applications. Converting the analog signal to digital form typically involves the use of an analog-to-digital converter (ADC) that captures the value of the signal at certain time intervals, or sampling rate, to produce a series of discrete values that can be used to represent the analog signal.

In modern electronic devices, the sampling rate is impacted by many constraints, including CPU utilization, power consumption, as well as limited parity space to prevent collision of RAM check with DMA transfer of samples, among other constraints. These constraints can limit the maximum sampling rate achieved by the devices to less than a preferred rate. Conventional practice in digital signal processing is to use a periodic sampling rate that is at least 10 times higher than the highest frequency component of the signal being sampled in order to provide a sufficiently accurate representation of the shape of the signal. At the low end, the periodic sampling rate should not fall below the well-known Nyquist rate, which is two times higher than the highest frequency component of the signal being sampled, in order to avoid errors from aliasing.

Maintaining a periodic sampling rate that is 10 times higher than the highest frequency component of a signal places a significant CPU utilization burden on the devices. In circuit breakers, for example, upcoming changes to UL943 potentially include a requirement for high-frequency ground fault detection for earth-leakage signals with frequencies up to 50 kHz (f_(c)=50 kHz). Implementing this requirement would require a periodic sampling rate of up to 500 kHz (f_(sa)=10×f_(c)=500 kHz) to ensure a reasonably accurate estimation of the amplitude of the signal. However, a periodic sampling rate of 500 kHz (and associated ground fault detection algorithm) could consume much of the CPU capacity and a corresponding amount of power.

Accordingly, a need exists for a way to reduce the sampling rate that would otherwise be required in electronic devices and applications that perform digital signal processing.

SUMMARY

Embodiments of the present disclosure provide systems and methods for reducing the sampling rate required in electronic devices in other applications that perform digital signal processing. The systems and methods employ randomly jittered under-sampling techniques in such devices and similar applications to provide efficient data acquisition for digital signal processing. Such an arrangement can greatly reduce the nominal or average signal sampling rate in applications, for example, where RMS, peak and mean estimates of the signal are desired for both the entire band-limited signal and separate estimates for each frequency component. This can in turn result in large cost savings, as less complex and thus less expensive controllers and related components may be used to perform the sampling. As well, the methods and systems herein can provide reasonably accurate waveform estimates that allow additional cost savings in bill of materials (BOM) and printed circuit board assembly (PCBA) footprint and real-estate by eliminating the need for certain analog components, such as signal conditioning components (although anti-aliasing filters may still be needed).

In general, in one aspect, embodiments of the present disclosure relate to a system for performing digital signal processing on an analog signal. The system comprises, among other things, a controller, an analog-to-digital converter (ADC) coupled to the controller, and an anti-aliasing filter coupled to the ADC and configured to perform frequency filtering on the analog signal and provide the analog signal to the ADC. The system further comprises a randomly jittered sampling module coupled to the ADC and operable to provide a trigger input to the ADC, the trigger input causing the ADC to acquire a sample of the analog signal provided by the anti-aliasing filter. In some embodiments, the randomly jittered sampling module is further operable to cause the ADC to acquire an aperiodic sequence of samples of the analog signal, the aperiodic sequence of samples having an amount of aperiodicity that is randomly generated. In some embodiments, the controller is operable to perform digital signal processing on the aperiodic sequence of samples to extract information from the analog signal and provide the information to an external system.

In general, in another aspect, embodiments of the present disclosure relate to a method of analyzing an analog signal. The method comprises, among other things, providing the analog signal to an anti-aliasing filter, performing frequency filtering at the anti-aliasing filter and providing the analog signal to an analog-to-digital converter (ADC). The method also comprises providing, at a randomly jittered sampling module coupled to the ADC, a trigger input to the ADC, the trigger input causing the ADC to acquire a sample of the analog signal provided by the anti-aliasing filter. The method further comprises changing, at the randomly jittered sampling module, a timing of the trigger input to cause the ADC to acquire an aperiodic sequence of samples of the analog signal, the aperiodic sequence of samples having an amount of aperiodicity that is randomly generated. The method still further comprises performing, at a controller coupled to the ADC, digital signal processing on the aperiodic sequence of samples to extract information from the analog signal, and providing the information to an external system.

In general, in still another aspect, embodiments of the present disclosure relate to a non-transitory computer-readable medium storing computer-readable instructions thereon. The computer-readable instructions, when executed by a controller, cause the controller to perform a process that receives an analog signal at an anti-aliasing filter, perform a process that performs frequency filtering of the analog signal at the anti-aliasing filter and provides the analog signal to an analog-to-digital converter (ADC), and perform a process that provides a trigger input to the ADC, the trigger input causing the ADC to acquire a sample of the analog signal provided by the anti-aliasing filter. The computer-readable instructions, when executed by a controller, also cause the controller to perform a process that changes a timing of the trigger input to cause the ADC to acquire an aperiodic sequence of samples of the analog signal, the aperiodic sequence of samples having an amount of aperiodicity that is randomly generated. The computer-readable instructions, when executed by a controller, also cause the controller to perform a process that performs digital signal processing on the aperiodic sequence of samples to extract information from the analog signal, and provides the information to an external system.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram illustrating an exemplary device that can perform randomly jittered under-sampling according to embodiments of the present disclosure;

FIG. 2 are waveform graphs illustrating an exemplary randomly jittered under-sampling technique according to embodiments of the present disclosure;

FIG. 3 is a comparison of FFT plots showing an efficacy of the exemplary randomly jittered under-sampling technique according to embodiments of the present disclosure;

FIG. 4 is a block diagram illustrating an exemplary implementation of a randomly jittered sampling module according to embodiments of the present disclosure;

FIGS. 5A-5C are block diagrams illustrating exemplary implementations of random number generators according to embodiments of the present disclosure;

FIG. 6 is a flow diagram illustrating an exemplary method of implementing randomly jittered under-sampling according to embodiments of the present disclosure; and

FIG. 7 is a functional block diagram of a general-purpose controller that may be used to implement various embodiments of this disclosure.

DETAILED DESCRIPTION

This description and the accompanying drawings illustrate exemplary embodiments of the present disclosure and should not be taken as limiting, with the claims defining the scope of the present disclosure, including equivalents. Various mechanical, compositional, structural, electrical, and operational changes may be made without departing from the scope of this description and the claims, including equivalents. In some instances, well-known structures and techniques have not been shown or described in detail so as not to obscure the disclosure. Further, elements and their associated aspects that are described in detail with reference to one embodiment may, whenever practical, be included in other embodiments in which they are not specifically shown or described. For example, if an element is described in detail with reference to one embodiment and is not described with reference to a second embodiment, the element may nevertheless be claimed as included in the second embodiment.

Referring now to FIG. 1 , a block diagram is shown for an exemplary electronic device 100 according to one or more embodiments of the present disclosure. The electronic device 100 is designed to perform digital signal processing on at least one continuous-time signal in order to extract information from such analog signal. Examples of devices that may be used as the electronic device 100 include security monitoring devices, process control devices, spatial positioning devices, and the like. In general, the device 100 may be any device that can be programmed to perform digital signal processing, including a general-purpose computer, using samples of signals acquired via the randomly jittered under-sampling techniques disclosed herein.

In the FIG. 1 example, the electronic device 100 includes a number of functional components or modules, some of which are represented here as blocks, that allow the device 100 to perform randomly jittered under-sampling, as described later herein. It will be understood, of course, that each block shown here (and in subsequent figures) may be divided into several constituent blocks, or two or more blocks may be combined into a single block, within the scope of the present disclosure. Similarly, each block may be implemented via software (e.g., programming), hardware (e.g., ASIC), or a combination of both, within the scope of the present disclosure.

As can be seen, the device 100 includes, among other components, an anti-aliasing filter 102 that is designed to limit the bandwidth of the analog signal prior to sampling of the signal by a controller 104. The anti-aliasing filter 102 helps prevent or minimize violation of the Nyquist sampling rate with respect to the analog signal and a predefined nominal sampling rate or mean conversion rate, F_(mcr), used by the controller 104 to sample the analog signal. The controller 104 itself includes at least an ADC 106, a user interface 108, and operational analysis module 110, and a DSP processor 112. Other functional components and modules not expressly shown may also be included within the scope of the present disclosure. Likewise, one or more of the expressly shown functional components and modules may be removed without departing from the disclosure.

In some embodiments, rather than a single anti-aliasing filter 102 that limits the analog signal to a given bandwidth, it is possible to have multiple aliasing filters, indicated here as 102′ and 102″, that each limit the analog signal to a different given bandwidth. Such an arrangement is particularly useful in cases where the frequency content of the analog signal has a very wide bandwidth. In such an arrangement, the outputs of the additional anti-aliasing filter 102′, 102″ may be processed by the same ADC (e.g., ADC 106) as the anti-aliasing filter 102, or one or more additional ADC may be used for the additional filters within the scope of the present disclosure.

Operation of the device 100 is generally well known in the art and therefore only a brief description is provided herein. In general, the controller 104 receives the analog signal, such as a voltage signal, current signal, temperature signal, pressure signal, spatial position signal, and many other types of signals, from the anti-aliasing filter 102. The signal is sampled by the ADC 106, which converts each sample into a numerical value that is proportional to an amplitude of the sample and outputs these values as a time data sequence. The data sequence is then processed by the operational analysis module 110 to obtain, for example, information related to security monitoring, process control, spatial positioning, and the like, from the signal. In some embodiments, additional signal processing may be performed on the data sequence by the DSP processor 112, such as for data compression, data encoding, and the like. In some embodiments, an FFT may be performed on the data sequence to obtain a discrete Fourier transform that may also then be processed by the DSP processor 112 to extract or otherwise digitally manipulate information contained in the signal. The information may thereafter be provided to an external system, such as a security monitoring system, a process control system, a spatial positioning system, and the like, for further processing and consumption by the system.

Examples of suitable controllers that may be used as the controller 104 include the PIC series of microcontrollers from Microchip Technology, Inc., an ARM (Advanced RISC Machine) based microcontroller, as well as a digital signal processor (DSP), an ASIC, and the like. In preferred embodiments, any controller may be used as the controller 104 as long as that controller can execute a fast Fourier transform algorithm for the signal samples obtained by the ADC 106 to compute a discrete Fourier transform (DFT) therefor. A fast Fourier transform (FFT) algorithm, as understood by those skilled in the art, computes a discrete Fourier transform (DFT) for a time sequence of sample values to obtain the frequency components thereof.

In accordance with one or more embodiments, a randomly jittered sampling module 114 may be provided in the controller 104 for controlling the sampling that the ADC 106 performs on the analog signal. As alluded to above, the rate at which the ADC 106 performs sampling can be limited by maximum power consumption and other hardware constraints that can reduce the maximum sampling rate (frequency) employed by the device 100. The randomly jittered sampling module 114 can compensate for any such limitations imposed on the maximum sampling rate by using randomly jittered under-sampling with the ADC 106. The samples of the analog signal obtained using the randomly jittered under-sampling techniques disclosed herein may then be processed by the FFT module 110 and the DSP processor 112 in a manner known to those skilled in the art. Following is a more detailed discussion of the randomly jittered under-sampling techniques implemented by the randomly jittered sampling module 114.

In electronic devices like the device 100 and similar devices, the controller is often required to detect when the magnitude of a signal exceeds a certain threshold, V_(th), within a given time interval, T_(W). Detection requires that signal be sampled in a sufficient manner to allow the magnitude of the signal to be accurately reproduced for the controller. For a given analog signal having a frequency between [F_(L), F_(H)], periodic sampling theory requires a sampling rate that is at least twice F_(H) (i.e., the Nyquist rate), while standard engineering practice often requires a sampling rate that is at least five times the Nyquist rate to achieve accurate representation of the shape of the signal. However, power and CPU utilization requirements can constrain the sampling rate, F_(Smpl), such that F_(Smpl)<F_(H), which violates both standard sampling practice and theory for periodic sampling. Even if at any given time the signal is assumed to have a very narrow band in which aliasing could potentially be avoided due to sparsity in the frequency domain, any sample rate chosen below the Nyquist rate risks sampling at exactly the same phase of the signal for any signal that has a frequency

${f_{signal} = {\frac{N}{2}F_{Smpl}}},$

where N is a positive integer.

The randomly jittered under-sampling techniques herein, on the other hand, allow devices like the electronic device 100 and similar devices to achieve a sufficiently accurate representation of the signal waveform for purposes of the digital signal processing performed by these devices. In addition, no analog signal conditioning components would be needed, although a standard anti-aliasing filter (e.g., anti-aliasing filter 102) may still be required for the ADC. The randomly jittered under-sampling techniques herein allow all necessary signal processing of samples in the time domain as well as digital filtering and signal processing of an FFT in the frequency domain, while allowing the controller to operate within the power and CPU utilization constraints of the devices. This can save cost and PCBA footprint real-estate by omitting components such as a rectifier/accumulator, which requires diodes and capacitors, while allowing the average sampled data rate to be well within the passband and well below the Nyquist rate of the signal.

Although performing an FFT increases CPU utilization, the FFT provides the advantages of (1) data compression, (2) low data-rate from the ADC, (3) lower BOM cost, (4) smaller footprint, and (5) software defined and updateable frequency response in sensitivity. These advantages may outweigh the cost of increased CPU utilization in many applications. In fact, the constraint on the mean data rate or mean conversion rate is independent of the overall bandwidth of the signal, and is only dependent upon the maximum rate of change of the energy spectral density (ESD) of the frequency bands of the signal that the application is required to detect. By definition, the minimum rise and fall times of the time-dependent ESD will be within the bandwidth of the signal; however, the specification of a particular application might only require detection of changes in the ESD that are well below the upper band of the signal. This latter scenario is particularly well suited for the randomly jittered under-sampling techniques herein.

FIG. 2 shows several waveform graphs, generally indicated at 200, that illustrate an exemplary implementation of the randomly jittered under-sampling techniques herein, as embodied by the controller 104 (e.g., via the randomly jittered sampling module 114). In the figure, graph (a) depicts a waveform 202 along a time axis, t, for a continuous-time (analog) signal to be sampled, x_(c)(t), while F_(mcr) again denotes a nominal or mean conversion rate (average sampling rate) for the signal, such that one sampling is expected to occur within every 1/F_(mcr) second interval, as indicated by the tick marks 204. Advantageously, this nominal sampling rate, F_(mcr), can be predefined or set significantly lower than the Nyquist sampling rate by virtue of the under-sampling techniques disclosed herein.

Graph (b) depicts an ideal sample pulse train for the present example sampling application, S_(ideal)(t), indicated by gray up-arrows, that is obtained according to an ideal sampling rate, F_(SS). This ideal sampling rate, F_(SS), is an integer multiple of the nominal sampling rate, F_(mcr), and is preferably at least equal to the Nyquist sampling rate or higher. Also depicted in graph (b) is an actual sample pulse train, S_(actual)(t), indicated by black up-arrows, that is obtained according to the under-sampling techniques herein. As can be seen, the samples that are actually obtained, S_(actual)(t), are a small, randomly-selected subset of the ideal or imaginary sample pulse train, S_(ideal)(t). In the present example, each of the samples 208 in the actual sample pulse train, S_(actual)(t), is obtained typically coincident with one of the ideal samples 206, but at a randomly-selected forward offset, X, from the tick marks 204 where sampling would normally occur (note, however, that the offset X for the last sample in the graphs falls in between adjacent ideal samples 306).

Thus, in the example of graph (b), at

$\frac{k - 1}{F_{mcr}},$

an actual sample 208 is obtained at

$\left( {\frac{k - 1}{F_{mcr}} + \frac{X}{F_{ss}}} \right)$

where X=4; at

$\frac{k}{F_{mcr}},$

an actual sample 208 is obtained at

$\left( {\frac{k}{F_{mcr}} + \frac{X}{F_{ss}}} \right)$

where X=1; at

$\frac{k + 1}{F_{mcr}},$

an actual sample 208 is obtained at

$\left( {\frac{k + 1}{F_{mcr}} + \frac{X}{F_{ss}}} \right)$

where X=3; at

$\frac{k + 2}{F_{mcr}},$

an actual sample 208 is obtained at

$\left( {\frac{k + 2}{F_{mcr}} + \frac{X}{F_{ss}}} \right)$

where X=0; and at

$\frac{k + 3}{F_{mcr}},$

an actual sample 208 is obtained at

$\left( {\frac{k + 3}{F_{mcr}} + \frac{X}{F_{ss}}} \right)$

where X=5. Each of these actual samples 208 is obtained typically coincident with one of the ideal samples 206. In general, the sequence of ideal samples can be mathematically described by Equation (1) below, and the sequence of actual samples can be mathematically described by Equation (2) below:

$\begin{matrix} {{s_{ideal}(t)} = {\sum_{\forall{n \in {\mathbb{Z}}}}{\delta\left( {t - \frac{n}{F_{ss}}} \right)}}} & (1) \end{matrix}$ $\begin{matrix} {{{s_{actual}(t)} = {\sum_{\forall{k \in {\mathbb{Z}}}}{\delta\left( {t - \frac{k}{F_{mcr}} - \frac{X}{F_{ss}}} \right)}}},{{{where}X} \sim {{Uniform}\left( {{0,\ldots,\ N} - 1} \right)}},{N = \frac{F_{ss}}{F_{mcr}}}} & (2) \end{matrix}$

Graph (c) depicts the waveform 202 for the continuous-time signal from graph (a) with the actual samples 208 indicated on the waveform 202, as obtained according to the techniques herein. As can be seen, the number of actual samples 208 obtained is significantly smaller than the number of ideal or imaginary samples 206. In addition, the interval between consecutive actual samples 208 is no longer regular and periodic, but is irregular and aperiodic relative to the nominal sampling interval, hence the term “jittered.” In addition, the amount of irregularity and aperiodicity of the actual samples 208 is random/pseudo-random, hence the term “randomly jittered.” Each actual sample 208 is preferably coincident with one of the ideal samples 206, although it is possible for the forward offset, X, and hence the actual sample 308, to fall in between adjacent ideal samples 306 within the scope of the present disclosure. In graph (c), the sequence of actual samples may be described by Equation (3) below:

$\begin{matrix} {{{x_{s}\lbrack k\rbrack} = {x_{c}\left( t_{k} \right)}},{{{where}t_{k}} = {{\frac{k}{F_{mcr}} - {\frac{X}{F_{ss}}{and}X}} \sim {{Uniform}\left( {{0,\ldots,\ N} - 1} \right)}}},{N = \frac{F_{ss}}{F_{mcr}}}} & (3) \end{matrix}$

Graph (d) depicts an exemplary method of issuing a trigger input to an ADC (e.g., ADC 106) to cause the ADC to obtain the actual samples 208 according to the under-sampling techniques herein. In graph (d), the sawtooth waveform 210 designated as CNTR represents the values of a counter. The counter begins counting from a predefined reset value (e.g., zero) at the start of each nominal sampling interval (e.g., tick marks 204). When the counter value reaches a compare value, which in this case is the randomly/pseudo-randomly generated forward offset, X (i.e., when X intersects CNTR), a trigger input is provided to the ADC to cause the ADC to obtain a signal sample.

Note that the values of the actual samples 208 in the actual sample pulse train, S_(actual)(t), are sufficient to estimate peak, mean, RMS (root mean square) values and other statistical analysis for the signal being sampled, in the event a device requires such statistical analysis. Techniques for estimating the RMS value, for example, from the values of the actual samples 208 by deriving a standard deviation for those values are well known to those skilled in the art. In the electronic device 100, for example, the RMS, peak, average, mean, and other statistical analysis may be performed by the operational analysis module 110.

On the other hand, if a device (e.g., electronic device 100) requires the magnitude of each frequency component of the signal over a long period of time, then in some embodiments, zeroes may be used for the values of each sample 206 in the ideal sample pulse train, S_(ideal)(t), for which an actual sample 208 was not obtained. The zero-padded samples are labeled 206′ in graph (e). An FFT may then be performed for the signal using the zero-padded ideal samples 206′ and the actual samples 208 to obtain an estimate of the magnitude of each frequency component in the signal (provided F_(SS) is at least equal to the Nyquist rate).

The randomly jittered under-sampling techniques herein affords several advantages. For example, the nominal or effective sampling rate, F_(mcr), can be chosen well below the frequency-band of interest and is equally effective in the traditionally most challenging cases where a single tone frequency, F_(t)=F_(mcr), and/or

${F_{t} = \frac{F_{mcr}}{n}},$

where n is an integer. This low effective sample rate reduces the amount of data required to characterize a signal by a factor of N=F_(ss)/F_(mcr), thus reducing resource expenditure such as CPU utilization, memory utilization, and communication bus bandwidth necessary for processing, storing, and transferring the sample data.

The efficacy of the disclosed under-sampling techniques can be understood from at least two viewpoints. First, from a statistical analysis viewpoint, the time-varying signal can be treated as a random variable if it is sampled randomly instead of with the more common periodic sampling. Here, the time-resolution is defined by F_(ss) and an average sample rate is enforced by F_(mcr), while the interval between any two successive sample conversions, T_(conv), is a random/pseudo-random variable taken from a discrete uniform distribution [1/F_(ss), 2/F_(ss), 3/F_(ss), . . . (2N−1)/F_(ss)]. Thus, as long (i) as the time-resolution is sufficiently small, (ii) the ESD of the signal does not change much over the time window of sampling, and (iii) the time window of sampling is sufficiently large, then the signal's statistical measures of standard deviation, mean, and min/max are equal to those statistical measures for the samples.

Consider an example of an electronic device that measures the amplitude of the signal within a determined frequency band as the signal evolves over time. Such a device is typically interested in changes in signal energy over time steps much larger than the inverse of the upper-frequency of the signal band. Therefore, if the device can randomly sample a band-limited periodic signal, then it can treat the randomly sampled signal as a random variable. When randomly sampled, the signal mean is the amplitude of the DC bias and the standard-deviation is the RMS of the AC components of the signal. Note that when calculating standard-deviation or RMS over a defined window of samples, the particular order of the samples in the window is irrelevant. What is relevant in the calculation is that the samples are randomly collected and that the sample size is large enough to characterize the signal with a sufficiently small error for the requirements of the metering device.

FIG. 3 illustrates the efficacy of the disclosed under-sampling techniques from another viewpoint, a Fourier analysis viewpoint. The figure shows a comparison of two FFT plots performed for a mixed-frequency signal, x(t). The first FFT plot 300 is performed using a sequence of samples obtained periodically at a sampling rate of F_(SS)=2×10⁶ Hz. The resulting sequence of samples can be described mathematically by Equation (4) below:

$\begin{matrix} {{{x(t)} = {\Sigma_{i = {\{{1,2,3,4}\}}}\left\lbrack {\sqrt{2}{\sin\left( {2\pi f_{i}t} \right)}} \right\rbrack}},{{where}\left\{ \begin{matrix} {f_{1} = {60}} \\ {f_{2} = {7e3}} \\ {f_{3} = {30e3}} \\ {f_{4} = {100e3}} \end{matrix} \right.}} & (4) \end{matrix}$

The second FFT plot 302 is performed using a sequence of samples obtained using the zero-padded randomly jittered under-sampling techniques herein at a nominal or average sampling rate of F_(mcr)=15,625 Hz, F_(SS)=2 MHz, and X˜Uniform(0, . . . , 225). The resulting sequence of samples can be described mathematically by Equation (5) below:

$\begin{matrix} {{x_{p}\lbrack n\rbrack} = \left\{ \begin{matrix} {{x_{s}\lbrack k\rbrack},{{{where}\ t_{n}} = {\frac{n}{F_{ss}} = {\frac{k}{F_{mcr}} + {\frac{X}{F_{ss}}\ \left( {{i.e.},{{x_{p}\lbrack n\rbrack}{occurs}\ {in}\ {phase}\ {with}{x_{s}\lbrack k\rbrack}}} \right)}}}}} \\ {0,\ {otherwise}} \end{matrix} \right.} & (5) \end{matrix}$

As seen in the FFT plots 300, 302, the amplitude of the four principle frequency components, indicated at 304, 306, 308, and 310, are correctly identified by both plots. The only substantive difference between the two FFT plots 300, 302 is that there is additional broad-band noise in the second FFT plot 302 for the zero-padded randomly jittered under-sampled signal, x_(p) [n], and that the FFT of x_(p) [n] must be scaled up by a factor of F_(ss)/F_(mcr). The added noise is due to the zero-padding essentially creating a sequence that has a bandwidth much larger than F_(ss), as only such a signal could create the pulses in the time-domain which are evident in the zero-padded sequence. Thus, the noise in the second FFT plot 302 is introduced by aliasing inherent in the zero-padded signal.

Following is an exemplary subroutine, written in Matlab, that may be used to generate the FFT plots shown in FIG. 3 .

Fs = 2e6; Fhat = 15625; t = 1/Fs:1/Fs:5; if mod (length (t), 2 ) ==0   t (end+1) = t(end)+1/Fs; end Nsim = length(t); % x = [sin (2*pi*30e3*t (1:Nsim/2) ), zeros(1,Nsim/2)] ... % + [zeros (1,Nsim/2), sin (2*pi*100e3*t(Nsim/2+1:end) ) ] ... % + 0.1*square(2*pi*10*t,50) ... % + 3*sqrt(2)*sin(2*pi*60*t) ... % + [zeros(1,Nsim/4),sin(2*pi*400e3*t (Nsim/4+1:Nsim*3/4)), zeros (1,Nsim/4)]; x = 1*sqrt(2)*sin(2*pi*30e3*t) ...  + 1*sqrt(2)*sin(2*pi*100e3*t) ...  + 1*sqrt(2)*sin(2*pi*60*t) ...  + 1*sqrt(2)*sin(2*pi*7e3*t); [xJ, idxJ, idxU] = JitteredSampling (x, Fs, Fhat, 0); %% L = length(xJ) * Fs/Fhat; % Length of zero-padded signal if mod (L, 2) ==0   L = L+1; end % SampleIdx = obj.GF_RAND_LOG(:) + cumsum (repmat (256,length(obj.GF_RAND_LOG(:) ), 1) ) − 255; SampleIdx = idxJ; xJpad = zeros(1, L); xJpad (SampleIdx) = xJ; xJpad (isnan (xJpad) ) = 0; XJpad = fft (xJpad, L, 2); P2 = abs (XJpad/L) * Fs/Fhat; P1 = P2 (1: (L/2+0.5) ) + flip1r( [P2( [L/2+1.5) :end), 0] ); P1 (1:end-1) = P1 (1:end-1); f = Fs*(0: (L/2) ) /L; figure; ax1 = nexttile; plot (t, xJpad); hold on; % plot( SampleIdx/4e3, obj.GF_SAMPLES ) hold off; title(′Signal Overlaid with zero-pad reconstruction′) xlabel(′t (milliseconds) ′) ylabel( ′X(t) ′ ) ax2 = nexttile; loglog (f,P1/sqrt (2) ) title (′FFT of Randomly jittered undersampled signal after zero-padding′ ) xlabel (′f (Hz) ′ ) ylabel ( ′ |P1 (f) |/sqrt (2) [RMS] ′ ) X = fft (x, L, 2); PX2 = abs (X/L); PX1 = PX2 (1:L/2+0.5) *2; figure; loglog (f,P1/sqrt(2),′−o′) hold on; loglog (f,PX1/sqrt(2), ′:x′ ) xlabel( ′ Frequency (Hz) ′) ylabel( ′ One-sided FFT [RMS] ′ ) title(′ FFT Demo of randomly jittered undersampled signal after zero-padding ′) legend(′ FFT of randomly undersampled signal after zero-padding (F_s = 15625 Hz) ′,′ FFT of periodically sampled signal (F_s = 2e6 Hz) ′) function [ x_AtTrigger, idxofTrigger, idxofTimerUpdate ] = ...   JitteredSampling( x_AtTimerTick, fTimer, fHatTrigger, minFractionTimeBetweenSamples ) x_AtTrigger = [ ] ; idxOfTrigger = [ ]; idxOfTimerUpdate = [ ]; meanTicksPerTrigger = round( fTimer/fHatTrigger ); numberOfTimerTicks = size(x_AtTimerTick,2); idxOfTimerUpdate = 1:meanTicksPerTrigger:(numberOfTimerTicks- meanTicksPerTrigger+1); numberOfTriggers = length(idxOfTimerUpdate); maxOffset = floor( (meanTicksPerTrigger−1) * (1−minFractionTimeBetweenSamples) ); jitterOffset = randi ( [0 maxOffset], 1, numberOfTriggers); idxOfTrigger = idxOfTimerUpdate + jitterOffset; x_AtTrigger = x_AtTimerTick(:,idxOfTrigger); end

It should be noted that the use of an FFT algorithm, while beneficial, is strictly optional in some embodiments. There are multiple applications of the samples collected using the randomly jittered undersampling that do not require an FFT. For example, on the samples alone, statistical analysis as well as digital signal processing in pseudo-time domain may be performed without an FFT. The samples and a record of their corresponding offset values, X, may be simply analyzed statistically, either locally in the device or after transmission to an external digital processing and/or analysis system. The samples may also be reconstructed using zero-padding and digitally signal processed in the time domain. The zero padded reconstructed signal may also be analyzed in the frequency domain using FFT, as discussed above. Digital signal processing may also be performed on the results of the FFT in the frequency domain, either locally in the device or after transmission to an external digital processing and/or analysis system.

Note also that the subsequent analyses do not need to be performed by the same controller that performs the randomly jittered undersampling. Instead, the samples and their corresponding offsets, X, may be stored and then later downloaded or transmitted to another device that performs the analyses post-process, depending on the needs of the particular application. The storage and transmission of such undersampled data still benefit from the reduced data size relative to data collected at the ideal rate, F_(SS).

In some embodiments, the above-referenced aliasing artifact may be avoided by creating x_(p) [n] as a summation of SINC functions, each scaled by x_(s) [k] and centered at positions where x_(p) [n]=x_(s) [k] to ensure both conservation of energy and that the bandwidth of the underlying sequence is no larger than

$\frac{F_{ss}}{2}.$

However, for practical purposes, the FFT plot 302 for the zero-padded sequence suggests that random sampling using the randomly jittered under-sampling techniques herein can be functionally equivalent to sampling at an ideal sampling rate, F_(ss), while only requiring conversion and processing of samples at the much lower nominal rate, F_(mcr), with the (minor) additional processing cost resulting from broad-band noise being added to the sampled signal when processing the data in the frequency domain.

As the above makes clear, sequences of samples obtained via the randomly jittered under-sampling techniques herein may be used with digital signal processing techniques as if the samples were obtained using a standard, periodic sampling. In general, when the nominal sampling rate is much greater than the frequency of the signal being sampled (i.e., F_(mcr)>>F_(H)), the randomly jittered under-sampled sequence will approximate a periodically sampled sequence that was sampled at F_(mcr). When the nominal sampling rate is less than the frequency of the signal being sampled (i.e., F_(mcr)<F_(H)), the randomly jittered under-sampled sequence will approximate high-frequency noise sampled at F_(mcr). Therefore, applying digital filters and digital signal processing techniques to the randomly jittered under-sampled sequence will produce the desired effects for signal frequencies that are less than the nominal sampling rate (i.e., F_(H)<F_(mcr)), and will tend to attenuate signal frequencies that are greater than the nominal sampling rate (i.e., F_(H)>F_(mcr)). This allows the frequency response of a device or application to be designed/defined in software without needing to redesign the hardware analog components, while also maintaining the benefits of a reduced data rate and corresponding reduced CPU load required by the digital signal processing functions.

FIG. 4 illustrates an exemplary implementation of the randomly jittered sampling module 114 discussed above. Recall from the discussion of graph (d) that a timer compare-match scheme may be used to issue the trigger input to an ADC (e.g., ADC 106) to cause the ADC to obtain the actual samples 208 according to the sampling techniques herein. As such, the exemplary implementation of the randomly jittered sampling module 114 shown in FIG. 4 includes a timer circuit 400. The timer circuit 400 may be a software module executed by a controller (e.g., controller 104), or it may be a separate on-board circuit on the printed circuit board assembly (PCBA), or a peripheral component on an MCU. In some embodiments, the timer circuit 400, the ADC 106, and the RNG 404 may be peripheral hardware components on an MCU, such as Model No. STM32L412 MCU, available from STMicroelectronics, Inc. Sampling data can then be transferred between those peripherals via DMA channels (also built into the MCU).

In general operation, assertion of a CNDTR (counter) input (e.g., by the controller) causes an internal counter on board the timer 402 to begin incrementing an internal counter value from a predefined reset value (e.g., zero) until the counter reaches a predefined final value

$\left( {e.g.} \right.,{{\frac{F_{ss}}{F_{mcr}} - 1} = {N - \left. 1 \right)}},$

referred to as an “update event” value. The predefined update event value will correspond to a nominal sampling interval, 1/F_(mcr) (e.g., tick marks 304), discussed above with respect to graph (a). The counter may increment its counter value at the same rate as an internal clock speed, or a lower rate that is proportional to the internal clock speed. Upon reaching the predefined update event value, the timer 402 restarts the internal counter and asserts an UEV (update event) output.

Assertion of the UEV output causes an on-chip random number generator 404 connected to the UEV output to receive an input, UEV_(k-1), that causes the random number generator 404 to generate a random/pseudo-random value, X_(k). This random/pseudo-random value is the forward offset, X, discussed above. Note that the random number generator 404 is shown in this example as a separate peripheral component. In some embodiments, the random number generator 404 may alternatively be implemented as a pseudo-random number look-up table stored in a memory of the controller, or it may be a software implementation of a random number generator running in a controller, such as the controller 110. In either case, the forward offset is then provided as an input to a CMPR (compare) input of the timer 402 to be used as a compare value for the internal counter. When the internal counter value matches the compare value (forward offset value), the timer 402 asserts a CMP (compare match) output.

Assertion of the CMP output causes the ADC 106 (via the trigger input which is connected to the CMP output) to obtain a sample of the signal in a manner similar to that shown in graph (b) in FIG. 2 at 208. The timing of the CMP output, and hence the timing of the trigger input, changes randomly with the forward offset. The change results in a series of samples that have aperiodic (unevenly spaced) sampling intervals, with the amount of aperiodicity being randomly/pseudo-randomly generated. An on-board or on-chip timer clock 406 may be provided to generate a clock signal for a CLK (clock) input of the timer 402. The clock 406 may generate a clock signal having a frequency that corresponds to the ideal sampling rate, F_(SS) (e.g., larger than or equal to twice the Nyquist rate), or the timer 402 may scale the clock signal from the timer 406 such that the counts at a rate that corresponds to the ideal sampling rate, F_(SS).

FIGS. 5A-5C illustrate several exemplary implementations of a random number generator that may be used as the random number generator 504 in FIG. 5 . As with the random number generator 504, each of the random number generators in FIGS. 5A-6C may be implemented as software that runs within a controller, or as a separate peripheral component from the controller, or as a connected hardware peripheral which is built in to the controller and configurable via software running on the controller. In the hardware peripheral case, the random number generator 504 may be implemented using a 16-bit value from a dedicated hardware peripheral random number generator in an STM32L412 MCU. A DMA may be used to cast the 16-bit value to 8-bit value and then transfer it directly to the compare register (CMP) of the timer peripheral. This may be performed by the hardware on the MCU without any operation by the CPU except for the initial configuration of the peripherals including the DMA.

Referring to FIG. 5A, an exemplary random number generator 500 is shown that uses a long, preset string or sequence of numbers 502 that that have been generated or otherwise selected so as to appear random. An pointer may then be advanced incrementally from one number to the next along the sequence 502 to generate a random number. Once the end of the sequence 502 is reached, the pointer may be set back to the start of the sequence to begin again. Such an arrangement may suffice to generate a pseudo-random number provided the sequence 502 is sufficiently long.

FIG. 5B illustrates an exemplary random number generator 504 that uses an array of numbers 506. A pointer may then be used to randomly select one of the numbers in the array of numbers 506. The pointer in this example may be indexed by the random number generator 506 using an external random seed. Any external physical phenomenon or event that is random in nature may be used as the external random seed, such as the frequency of ambient noise at a given instant, and the like. The array of numbers 506 is shown in this example as being sequential, but a sequential array is not required, nor does the array need to follow any particular pattern, provided the pointer is randomly indexed.

FIG. 5C illustrates an exemplary random number generator 508 that also uses an array of numbers 510. A pointer may again be used to randomly select one of the numbers in the array of numbers 510. However, the pointer in this example is indexed by the random number generator 508 using an internal random seed. Any internal physical phenomenon or event that is suitably random may be used as the internal random seed, such as the thermal noise of a resistor or other circuit component, and the like. The array of numbers 510 is also shown in this example as being sequential, but a sequential array is not required, nor does the array need to follow any particular pattern, provided the pointer is indexed randomly.

Those having ordinary skill in the art understand that there are other techniques for implementing a random number generator entirely in software without requiring any internal or external seed.

Thus far, specific embodiments of the randomly jittered under-sampling techniques herein have been shown and described. Following now in FIG. 7 is a general method that may be used to implement these various embodiments.

Referring to FIG. 6 , a flowchart 600 is shown for a method of implementing randomly jittered under-sampling in an electronic device according to various embodiments of the present disclosure. The electronic device may be a security monitoring device, process control device, spatial positioning device, or any other device that requires sampling and digital signal processing of an continuous-time (analog) signal, such as voltage, current, temperature, pressure, spatial positioning, and the like.

The method generally begins at 602 where a continuous-time signal to be sampled, x_(c)(t), is received at the device. At 604, a nominal or average signal sampling rate, F_(mcr), is set for the device, for example, by recalling the nominal sampling rate from a location in a memory of a controller for the device. At 606, an ideal or imaginary signal sampling rate, F_(SS), is set for the device, for example, by recalling the ideal sampling rate from a location in a memory of a controller for the device. As discussed above, the ideal sampling rate, F_(SS), is an integer multiple of the nominal sampling rate, F_(mcr), and is preferably at least equal to the Nyquist sampling rate or higher.

At 608, a nominal sampling interval,

${\frac{1}{F_{mcr}} = \frac{N}{F_{ss}}},$

is established for the device based on the nominal sampling rate. The nominal sampling interval may be computed on an as-needed basis by the controller for the device, or it may be recalled from a memory location of the controller for the device. At 610, an offset, X, may be randomly/pseudo-randomly generated for each nominal sampling interval by a randomly jittered sampling module (e.g., randomly jittered sampling module 114). The offset is generated such that each offset is typically coincident with the start of an ideal sampling interval. These offsets are typically forward offsets (i.e., forward from the start of a nominal sampling interval), but other offset arrangements may be used within the scope of the present disclosure. The result is a sequence of actual samples that have irregular or aperiodic sampling intervals where the degree of irregularity or aperiodicity is randomly/pseudo-randomly generated.

At 612, for each nominal sampling interval, an actual sample is obtained by an ADC (e.g., ADC 106) at the randomly/pseudo-randomly generated offset, X, from the start of the nominal sampling interval. The randomly/pseudo-randomly generated offset is such that the ADC obtains the actual sample typically coincident with, but may be out of sync from, the start of an ideal sampling interval. The amount of the off-sync may differ from one sample to the next, depending on the particular application. At 614, statistical analysis and other signal processing is performed on the sequence of actual samples for the signal to extract information from the signal, such as an RMS value, a peak value, a mean value, an average value, and the like.

At 616, optionally, zero padding is applied to each ideal sampling interval for which no actual sample was obtained (i.e., a sample value of zero is used at each such ideal sampling interval). At 618, an FFT is performed on the zero-padded ideal samples and the actual samples to obtain a discrete Fourier transform (DFT) for the signal. At 620, further digital signal processing is performed on the DFT of the signal to manipulate or otherwise extract information contained in the signal as needed, such as an estimate of the amplitude of the frequency components thereof.

FIG. 7 illustrates an exemplary controller that may be used to implement various embodiments of this disclosure. In general, any general-purpose controller may be used in various embodiments of this disclosure. For example, various embodiments of the disclosure may be implemented as specialized software executing in a controller 700 such as that shown in FIG. 7 . The controller 700 may include a processor 720 connected to one or more memory devices 730. Memory 730 is typically used for storing programs and data during operation of the controller 700. The controller 700 may also include a storage system 750 that provides additional storage capacity. Components of controller 700 may be coupled by an interconnection mechanism 740, which may include one or more busses. The interconnection mechanism 740 enables communications (e.g., data, instructions) to be exchanged between components of controller 700.

Controller 700 also includes one or more inputs 710 (e.g., for receiving data, instructions) and one or more outputs 760 (e.g., for providing data, instructions). In addition, controller 700 may contain one or more interfaces (not shown) that connect controller 700 to a communication network (in addition or as an alternative to the interconnection mechanism 740).

The controller 700 may include specially programmed, special-purpose hardware, for example, an application-specific integrated circuit (ASIC). Aspects of the disclosure may be implemented in software, hardware or firmware, or any combination thereof. Further, such methods, acts, systems, system elements and components thereof may be implemented as part of the controller described above or as an independent component.

Although controller 700 is shown by way of example as one type of controller upon which various aspects of the disclosure may be practiced, it should be appreciated that aspects of the disclosure are not limited to being implemented on the controller as shown in FIG. 7 . Controller 700 may be a general-purpose controller that is programmable using a high-level programming language. Controller 700 may be also implemented using specially programmed, special purpose hardware. In controller 700, processor 720 is typically a commercially available processor such as the STM32L412 MCU discussed above from STMicroelectronics, Inc.

In the preceding, reference is made to various embodiments. However, the scope of the present disclosure is not limited to the specific described embodiments. Instead, any combination of the described features and elements, whether related to different embodiments or not, is contemplated to implement and practice contemplated embodiments. Furthermore, although embodiments may achieve advantages over other possible solutions or over the prior art, whether or not a particular advantage is achieved by a given embodiment is not limiting of the scope of the present disclosure. Thus, the preceding aspects, features, embodiments and advantages are merely illustrative and are not considered elements or limitations of the appended claims except where explicitly recited in a claim(s).

The various embodiments disclosed herein may be implemented as a system, method or computer program product. Accordingly, aspects may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “circuit,” “module” or “system.” Furthermore, aspects may take the form of a computer program product embodied in one or more computer-readable medium(s) having computer-readable program code embodied thereon.

Any combination of one or more computer-readable medium(s) may be utilized. The computer-readable medium may be a non-transitory computer-readable medium. A non-transitory computer-readable medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Program code embodied on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing. Program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages.

While various features in the preceding are described with reference to flowchart illustrations and/or block diagrams, a person of ordinary skill in the art will understand that each block of the flowchart illustrations and/or block diagrams, as well as combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by programming logic (e.g., program instructions, hardware logic, a combination of the two, etc.). Moreover, the execution of such program instructions using the processor(s) produces a machine that can carry out a function(s) or act(s) specified in the flowchart and/or block diagram block or blocks.

The flowchart and block diagrams in the Figures illustrate the architecture, functionality and/or operation of possible implementations of various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.

It is to be understood that the above description is intended to be illustrative, and not restrictive. Many other implementation examples are apparent upon reading and understanding the above description. Although the disclosure describes specific examples, it is recognized that the systems and methods of the disclosure are not limited to the examples described herein, but may be practiced with modifications within the scope of the appended claims. Accordingly, the specification and drawings are to be regarded in an illustrative sense rather than a restrictive sense. The scope of the disclosure should, therefore, be determined with reference to the appended claims, along with the full scope of equivalents to which such claims are entitled. 

I/We claim:
 1. A system for performing digital signal processing on an analog signal, comprising: a controller; an analog-to-digital converter (ADC) coupled to the controller; an anti-aliasing filter coupled to the ADC and configured to perform frequency filtering on the analog signal and provide the analog signal to the ADC; and a randomly jittered sampling module coupled to the ADC and operable to provide a trigger input to the ADC, the trigger input causing the ADC to acquire a sample of the analog signal provided by the anti-aliasing filter; wherein the randomly jittered sampling module is further operable to cause the ADC to acquire an aperiodic sequence of samples of the analog signal, the aperiodic sequence of samples having an amount of aperiodicity that is randomly generated; and wherein the controller is operable to perform digital signal processing on the aperiodic sequence of samples to extract information from the analog signal and provide the information to an external system.
 2. The system according to claim 1, wherein the randomly jittered sampling module causes the ADC to acquire the aperiodic sequence of samples using a nominal sampling rate and an ideal sampling rate, the ideal sampling rate being an integer multiple of the nominal sampling rate.
 3. The system according to claim 2, wherein the nominal sampling rate has a corresponding nominal sampling interval and the ideal sampling rate as a corresponding ideal sampling interval, the randomly jittered sampling module further operable to generate a random offset for each nominal sampling interval, such that each random offset is coincident with a start of an ideal sampling interval.
 4. The system according to claim 3, wherein the controller is further operable to apply a zero value at each ideal sampling interval where no sample of the analog signal was acquired to obtain a zero-padded sequence of samples.
 5. The system according to claim 4, wherein the controller is further operable to perform a fast Fourier transform using the zero-padded sequence of samples and the aperiodic sequence of samples to obtain an amplitude of a frequency component of the analog signal.
 6. The system according to claim 2, wherein the ideal sampling rate is at least two times higher than a highest frequency component of the analog signal.
 7. The system according to claim 1, wherein the system is one of: a security monitoring device, a process control device, or a spatial positioning device.
 8. A method of analyzing an analog signal, comprising: providing the analog signal to an anti-aliasing filter; performing frequency filtering at the anti-aliasing filter and providing the analog signal to an analog-to-digital converter (ADC); providing, at a randomly jittered sampling module coupled to the ADC, a trigger input to the ADC, the trigger input causing the ADC to acquire a sample of the analog signal provided by the anti-aliasing filter; and changing, at the randomly jittered sampling module, a timing of the trigger input to cause the ADC to acquire an aperiodic sequence of samples of the analog signal, the aperiodic sequence of samples having an amount of aperiodicity that is randomly generated; and performing, at a controller coupled to the ADC, digital signal processing on the aperiodic sequence of samples to extract information from the analog signal, and providing the information to an external system.
 9. The method according to claim 8, further comprising using, at the randomly jittered sampling module, a nominal sampling rate and an ideal sampling rate, the ideal sampling rate being an integer multiple of the nominal sampling rate, to cause the ADC to acquire the aperiodic sequence of samples.
 10. The method according to claim 9, wherein the nominal sampling rate has a corresponding nominal sampling interval and the ideal sampling rate as a corresponding ideal sampling interval, further comprising generating, at the randomly jittered sampling module, a random offset for each nominal sampling interval, such that each random offset is coincident with a start of an ideal sampling interval.
 11. The method according to claim 10, further comprising applying, at the controller, a zero value at each ideal sampling interval where no sample of the analog signal was acquired to obtain a zero-padded sequence of samples.
 12. The method according to claim 11, further comprising performing, at the controller, a fast Fourier transform using the zero-padded sequence of samples and the aperiodic sequence of samples to obtain an amplitude of a frequency component of the analog signal.
 13. The method according to claim 9, wherein the ideal sampling rate is at least two times higher than a highest frequency component of the analog signal.
 14. The method according to claim 8, wherein the controller, anti-aliasing filter, ADC, and randomly jittered sampling module form part of: a security monitoring device, a process control device, or a spatial positioning device.
 15. A non-transitory computer-readable medium having computer-readable instructions stored thereon for analyzing an analog signal, the computer-readable instructions, when executed by a controller, cause the controller to perform a process that: receives an analog signal at an anti-aliasing filter; performs frequency filtering of the analog signal at the anti-aliasing filter and provides the analog signal to an analog-to-digital converter (ADC); provides a trigger input to the ADC, the trigger input causing the ADC to acquire a sample of the analog signal provided by the anti-aliasing filter; and changes a timing of the trigger input to cause the ADC to acquire an aperiodic sequence of samples of the analog signal, the aperiodic sequence of samples having an amount of aperiodicity that is randomly generated; and performs digital signal processing on the aperiodic sequence of samples to extract information from the analog signal, and provides the information to an external system.
 16. The non-transitory computer-readable medium according to claim 15, wherein the computer-readable instructions further cause the controller to perform a process that uses a nominal sampling rate and an ideal sampling rate, the ideal sampling rate being an integer multiple of the nominal sampling rate, to cause the ADC to acquire the aperiodic sequence of samples.
 17. The non-transitory computer-readable medium according to claim 16, wherein the nominal sampling rate has a corresponding nominal sampling interval and the ideal sampling rate as a corresponding ideal sampling interval, the computer-readable instructions further causing the controller to perform a process that generates a random offset for each nominal sampling interval, such that each random offset is coincident with a start of an ideal sampling interval.
 18. The non-transitory computer-readable medium according to claim 17, wherein the computer-readable instructions further cause the controller to perform a process that applies a zero value at each ideal sampling interval where no sample of the analog signal was acquired to obtain a zero-padded sequence of samples.
 19. The non-transitory computer-readable medium according to claim 18, wherein the computer-readable instructions further cause the controller to perform a process that performs a fast Fourier transform using the zero-padded sequence of samples and the aperiodic sequence of samples to obtain an amplitude of a frequency component of the analog signal.
 20. The non-transitory computer-readable medium according to claim 16, wherein the ideal sampling rate is at least two times higher than a highest frequency component of the analog signal. 